﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace AutoPartsSearch.Web.ViewModels.SearchQuery
{
    public class Car
    {
        [UIHint("EmptyDropDown")]
        [Required]
        public int? CarType { get; set; }

        [UIHint("EmptyDropDown")]
        [Required]
        public int? CarYear { get; set; }

        [UIHint("EmptyDropDown")]
        [Required]
        public int? CarBrand { get; set; }

        [Required]
        public string CarModel { get; set; }

        public string CarModification { get; set; }

        [Required]
        public string CarVin { get; set; }

        [Required]
        public string CarEngine { get; set; }

        [UIHint("EmptyDropDown")]
        [Required]
        public int? CarCase { get; set; }

        [UIHint("EmptyDropDown")]
        [Required]
        public int? CarTransmission { get; set; }

        [UIHint("EmptyDropDown")]
        [Required]
        public int? CarDrive { get; set; }

        [UIHint("EmptyDropDown")]
        [Required]
        public int? CarFuelType { get; set; }
    }
}